<#include "_layout.html"/>
<@layout>
<@jp.searchResultPage pageSize="10" >
<div class="breadcrumbs">
    <div class="container clr">
        <div id="breadcrumbs"><h1>
            <i class="fa fa-search"></i> 搜索结果</h1>
            <div class="breadcrumbs-text">
                为您找到关键字 “${keyword!}” 约${page.totalRow}篇相关文章.
            </div>
        </div>
    </div>
</div><!-- Header Banner -->

<div class="container two-col-container">
    <div id="main-wrap-left">
        <div class="bloglist-container clr">
                   <h2 class="home-heading clr">
                        <span class="heading-text-blog">搜索结果</span>
                    </h2>
            <#list page.getList() as content>
                <article class="home-blog-entry col span_1 clr">
                    <a href="${content.post.url}" title="${content.post.title}"
                       class="fancyimg home-blog-entry-thumb">
                        <div class="thumb-img">
                            <img src="${content.post.image}" alt="${content.post.title}">
                            <span><i class="fa fa-expand"></i></span>
                        </div>
                    </a>
                    <div class="home-blog-entry-text clr">
                        <h3>
                            <a href="${content.post.url}"
                               title="${content.post.title}">${content.post.title}</a>
                        </h3>
                        <!-- Post meta -->
                        <div class="meta">
                            <span class="postlist-meta-cat"><i class="fa fa-bookmark"></i>${content.post.getTaxonomyAsUrl('category')!'未分类'}</span>
                            <span class="postlist-meta-time"><i class="fa fa-calendar"></i>${content.post.created!string("yyyy-MM-dd")}</span>
                            <span class="postlist-meta-views"><i class="fa fa-fire"></i>浏览: ${content.post.view_count!'0'}</span>
                            <span class="postlist-meta-comments"><i class="fa fa-comments"></i><a
                                    href="#respond">评论: ${content.post.comment_count!'0'}</a></span>
                        </div>
                        <!-- /.Post meta -->
                        <p>
                            ${content.post.summary}
                            <a rel="nofollow" class="more-link" style="text-decoration:none;"
                               href="${content.post.url}"></a>
                        </p>
                    </div>

                    <div class="clear"></div>
                </article>
            </#list>


            <div class="clear"></div>
            <div class="pagination">
                <@pagination>
                <#list pages as page>
                <span class='pg-item'>
            <span class='${page.style!}'>
                <a href="${page.url!}">${page.text!}</a>
            </span></span>
                </#list>
            </@pagination>
        </div>
    </div>
</div>
<script type="text/javascript">
$('.site_loading').animate({'width':'55%'},50);  //第二个节点
</script>
<div id="sidebar" class="clr">
    <#include "include/_search_box.html" />
    <#include "include/_weixin_box.html" />
    <#include "include/_tag_box.html" />
    <#include "include/_tintabs_box.html" />
    <#include "include/_tinslider_box.html" />
    <div class="floatwidget-container">
    </div>
</div>
<script type="text/javascript">
$('.site_loading').animate({'width':'78%'},50);  //第三个节点
</script>
</div>
<!-- Stickys -->

</@jp.searchResultPage>
</div>
</@layout>
